package net.maku.module.staff.convert;

import net.maku.module.staff.entity.FamilyEntity;
import net.maku.module.staff.vo.FamilyVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_员工_家庭成员
*
* @author    
*/
@Mapper
public interface FamilyConvert {
    FamilyConvert INSTANCE = Mappers.getMapper(FamilyConvert.class);

    FamilyEntity convert(FamilyVO vo);

    FamilyVO convert(FamilyEntity entity);

    List<FamilyVO> convertList(List<FamilyEntity> list);

}